package com.secondHandPlatform.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author team
 * @since 2023-05-18
 */
@Getter
@Setter
public class Purse implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 钱包id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 总钱数
     */
    private Double balance;

    /**
     * 充值钱数
     */
    private Double recharge;

    /**
     * 提现钱数
     */
    private Double withdrawals;

    /**
     * 状态 1已成功 0充值失败 2充值取消 
     */
    private Integer state;
}
